package com.example.tool.controller.entity;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
//排版基本信息
public class SearchOutput {
    private Boolean historyData = false;
    private List<Data1> data;
    @Data
    public static class Data1{
        private Integer serialNumber;
        private String f1;//[(37)产品代码]
        private String f2;//[(38)套件代码]
        private String f3;//[(08)零件编号]
        private String f4;//[(02)设备名称]
        private String f5;//[(13)基准机床名称]

        private String f6;//[(14)材料代码
        private String f7;//[排版零件总数] 从排版切割文件中读取
        private String f8;//[(09)制造数量]
        private String f9;//[(01)登记目标调度分类]
        private String f10;//[(34)堆叠托盘编号]

        private String f11;//[(36)主架托盘编号]
        private String f12;//[(23)主架托盘更换标志]
        private String f13;//[(26)堆叠方向]
        private String f14;//[(27)外围装置-1]
        private String f15;//[(28)外围装置-2]

        private String f16;//[(29)外围装置-3]
        private String f17;//[(30)卸载超驰]
        private String f18;//[(31)有无分离]
        private String f19;//[(32)分离时间]
        private String f20;//[排版切割文件],  用共享路径替换 // *至第一个 / 前的字符串

        private String f21;//[最近更新时间]

        private List<Data2> childs = new ArrayList<>();
    }


    @Data
    //排版打印信息
    public static class Data2{
        private String cf1;//[(37)产品代码]
        private String cf2;//[(38)套件代码]
        private String cf3;//[(08)零件编号]

        private String cf4;//[序号]
        private String cf5;//[(03)排版零件号]
        private String cf6;//[(04)个数]
        private String cf7;//[(05)IJP打印信息]
    }
}
